package 测试;

import java.util.ArrayList;
import java.util.Arrays;

public class Lambda表达式测试 {

	public static void main(String[] args) {
		ArrayList<String> x = (ArrayList<String>) Arrays.asList("A", "X");
		x.forEach(n -> System.out.println(n));
	}

}